package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "group")
public class Group {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "index")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> index = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "numchannels")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> numchannels = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "downmix")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> downmix = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "channel")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Channel> channel = new ArrayList<Channel>();

}
